//
//  PlayTableViewCell.m
//  ProJectB_1
//
//  Created by lanou3g on 16/8/16.
//  Copyright © 2016年 yangshukai. All rights reserved.
//

#import "PlayTableViewCell.h"
#import "PlayViewModel.h"

@implementation PlayTableViewCell

- (void)setDataWith:(PlayViewModel *)model{
    _nameLabel.text = model.title;
    _usrLabel.text = model.authorinfo[@"uname"];
    if (self.selected) {
        _markView.backgroundColor = [UIColor flatGreenSeaColor];
    }else{
        _markView.backgroundColor = [UIColor clearColor];
    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
